// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store/store.js';
import i18n from './i18n/lang.js';
import config from './config/basic';
import axios from './lib/axios';//引用添加过拦截器的 axios
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

window.axios=axios;
window.config=config;

Vue.use(ElementUI);
Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  i18n,
  components: { App },
  template: '<App/>'
})
